/*********************************************
**   aes_128_ecb.c
**   encrypte decrypt the password
*********************************************/
#ifndef __AES_H__
#define __AES_H__

int aes_128_ecb_encrypt(char *in, char *key, char *out);

int aes_128_ecb_decrypt(char *in, char *key, char *out);
// base64 编码
char *base64_encode(const char *buffer, int length);
// base64 解码
char *base64_decode(char *input, int length);

int md5_16(const char *src, char *out);

int get_str_len(const char *in);

#endif